
ifdef COMSPEC
	RM := del /q
else
	RM := rm -f
endif

PASDOC := /home/roland/Documents/sources/pasdoc/bin/pasdoc
OUT := ./doc
doc:
	mkdir -p $(OUT)
	$(PASDOC) --output=$(OUT) --language=fr.utf8 --staronly --source=./pasdoc.cfg 2> ./pasdoc.err > ./pasdoc.out
clean:
	find . -name "*.o" -print -delete
	find . -name "*.ppu" -print -delete
	$(RM) ./doc-pasdoc/*.css
	$(RM) ./doc-pasdoc/*.gif
	$(RM) ./doc-pasdoc/*.html
.PHONY: clean doc
